{extend name="template/pc/hengzhou/_base.html" /}
{block name="main"}

<div class="container content cont-pc">

    {include file="template/pc/hengzhou/_left.html"}

    <div class="cont-right">

        {include file="template/pc/hengzhou/_right.html"}

        <div class="cont-list cont-list-down">
            <ul class="down">
                <li class="down-ti">
                    <div>序号</div>
                    <div>文件名称</div>
                    <div>文件描述</div>
                    <div>创建时间</div>
                    <div>操作</div>
                </li>

                {volist name="list" id="vo" empty="$empty"}
                <li class="down-list">
                    <div>{$i}</div>
                    <div>{$vo.title}</div>
                    <div>{$vo.miaoshu}</div>
                    <div>{notempty name="$vo.create_time"}{$vo.create_time|date="Y-m-d",###}{/notempty}</div>
                    <div class="down-more">
                        <a class="btn btn-success" title="下载" target="_blank" href="/public/uploads/file/{$vo.file}">下载</a>
                        <a class="btn btn-info" title="查看" target="_blank" href="{:url(\''.$cateInfo.model.'/detailed',['id'=>$vo.id,'navid'=>$vo.cid])}">查看</a>
                    </div>
                </li>
                {/volist}
            </ul>
        </div>

        <div class="page-content">
            <ul class="pagination">
                <li>
                    <span>{:lang('Common')} {$list->total()} {:lang('Strip')} / {$list->lastPage()} {:lang('Page')}</span>
                </li>
            </ul>
            {$list->render()}
        </div>

    </div>

</div>

<div class="cont-mobile">

    <div class="container">

        {include file="template/pc/hengzhou/_right.html"}

        {include file="template/pc/hengzhou/_left.html"}

        <div class="cont-list">
            <div class="news-list">
                <ul>
                    {volist name="list" id="vo" empty="$empty"}
                    <li>
                        <a title="{$vo.title}" href="{:url(\''.$cateInfo.model.'/detailed',['id'=>$vo.id,'navid'=>$vo.cid])}">
                            <div class="news-icon">{$i}</div>
                            <div class="news-txt">{$vo.title}</div>
                            <div class="news-time">{$vo.create_time|date="Y.m.d",###}</div>
                        </a>
                    </li>
                    {/volist}
                </ul>
            </div>
        </div>

        <div class="page-content">
            <ul class="pagination">
                <li>
                    <span>{$list->total()}/{$list->lastPage()}</span>
                </li>
            </ul>
            {$list->render()}
        </div>

    </div>

</div>

{/block}